package com.zhongxi.guoyuan.entity.shopcart;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/2/21.
 */

public class AddressListResult {
    private int code;
    private List<AddressListData> data;
    private BaseResult safeobj;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<AddressListData> getData() {
        return data;
    }

    public void setData(List<AddressListData> data) {
        this.data = data;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public class AddressListData implements Serializable {
        private String id;
        private String username;
        private String mphone;
        private String province;
        private String pid;
        private String city;
        private String cid;
        private String prefecture;
        private String preid;
        private String address;
        private String isdefault;

        private boolean isSelect;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMphone() {
            return mphone;
        }

        public void setMphone(String mphone) {
            this.mphone = mphone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCid() {
            return cid;
        }

        public void setCid(String cid) {
            this.cid = cid;
        }

        public String getPrefecture() {
            return prefecture;
        }

        public void setPrefecture(String prefecture) {
            this.prefecture = prefecture;
        }

        public String getPreid() {
            return preid;
        }

        public void setPreid(String preid) {
            this.preid = preid;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getIsdefault() {
            return isdefault;
        }

        public void setIsdefault(String isdefault) {
            this.isdefault = isdefault;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }
}
